﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class TW_Value_DiscountF_Gridview : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("TW_Value_DiscountF_Gridview", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("TW_Value_DiscountF_Gridview", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("TW_Value_DiscountF_Gridview", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("TW_Value_DiscountF_Gridview", "UserName");
        [Column]
        public int No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } } private int _No; public static FieldInfo no = new FieldInfo("TW_Value_DiscountF_Gridview", "No");
        [Column]
        public string F_Region { get { return _F_Region; } set { _F_Region = value; EntityState.FieldChange("F_Region"); } } private string _F_Region; public static FieldInfo f_Region = new FieldInfo("TW_Value_DiscountF_Gridview", "F_Region");
        [Column]
        public string F_County_Code { get { return _F_County_Code; } set { _F_County_Code = value; EntityState.FieldChange("F_County_Code"); } } private string _F_County_Code; public static FieldInfo f_County_Code = new FieldInfo("TW_Value_DiscountF_Gridview", "F_County_Code");
        [Column]
        public string F_City_Code { get { return _F_City_Code; } set { _F_City_Code = value; EntityState.FieldChange("F_City_Code"); } } private string _F_City_Code; public static FieldInfo f_City_Code = new FieldInfo("TW_Value_DiscountF_Gridview", "F_City_Code");
        [Column]
        public string F_Sales_Off { get { return _F_Sales_Off; } set { _F_Sales_Off = value; EntityState.FieldChange("F_Sales_Off"); } } private string _F_Sales_Off; public static FieldInfo f_Sales_Off = new FieldInfo("TW_Value_DiscountF_Gridview", "F_Sales_Off");
        [Column]
        public string F_PH4 { get { return _F_PH4; } set { _F_PH4 = value; EntityState.FieldChange("F_PH4"); } } private string _F_PH4; public static FieldInfo f_PH4 = new FieldInfo("TW_Value_DiscountF_Gridview", "F_PH4");
        [Column]
        public string F_Tin_Size { get { return _F_Tin_Size; } set { _F_Tin_Size = value; EntityState.FieldChange("F_Tin_Size"); } } private string _F_Tin_Size; public static FieldInfo f_Tin_Size = new FieldInfo("TW_Value_DiscountF_Gridview", "F_Tin_Size");
        [Column]
        public string F_Status { get { return _F_Status; } set { _F_Status = value; EntityState.FieldChange("F_Status"); } } private string _F_Status; public static FieldInfo f_Status = new FieldInfo("TW_Value_DiscountF_Gridview", "F_Status");
        [Column]
        public string F_Description { get { return _F_Description; } set { _F_Description = value; EntityState.FieldChange("F_Description"); } } private string _F_Description; public static FieldInfo f_Description = new FieldInfo("TW_Value_DiscountF_Gridview", "F_Description");
        [Column]
        public string F_Proc { get { return _F_Proc; } set { _F_Proc = value; EntityState.FieldChange("F_Proc"); } } private string _F_Proc; public static FieldInfo f_Proc = new FieldInfo("TW_Value_DiscountF_Gridview", "F_Proc");
        [Column]
        public string F_Scale_quantity { get { return _F_Scale_quantity; } set { _F_Scale_quantity = value; EntityState.FieldChange("F_Scale_quantity"); } } private string _F_Scale_quantity; public static FieldInfo f_Scale_quantity = new FieldInfo("TW_Value_DiscountF_Gridview", "F_Scale_quantity");
        [Column]
        public string F_Amount { get { return _F_Amount; } set { _F_Amount = value; EntityState.FieldChange("F_Amount"); } } private string _F_Amount; public static FieldInfo f_Amount = new FieldInfo("TW_Value_DiscountF_Gridview", "F_Amount");
        [Column]
        public string F_Unit { get { return _F_Unit; } set { _F_Unit = value; EntityState.FieldChange("F_Unit"); } } private string _F_Unit; public static FieldInfo f_Unit = new FieldInfo("TW_Value_DiscountF_Gridview", "F_Unit");
        [Column]
        public string F_Per { get { return _F_Per; } set { _F_Per = value; EntityState.FieldChange("F_Per"); } } private string _F_Per; public static FieldInfo f_Per = new FieldInfo("TW_Value_DiscountF_Gridview", "F_Per");
        [Column]
        public string F_Uom { get { return _F_Uom; } set { _F_Uom = value; EntityState.FieldChange("F_Uom"); } } private string _F_Uom; public static FieldInfo f_Uom = new FieldInfo("TW_Value_DiscountF_Gridview", "F_Uom");
        [Column]
        public string F_Calculat_Type { get { return _F_Calculat_Type; } set { _F_Calculat_Type = value; EntityState.FieldChange("F_Calculat_Type"); } } private string _F_Calculat_Type; public static FieldInfo f_Calculat_Type = new FieldInfo("TW_Value_DiscountF_Gridview", "F_Calculat_Type");
        [Column]
        public string F_ScaleBasis { get { return _F_ScaleBasis; } set { _F_ScaleBasis = value; EntityState.FieldChange("F_ScaleBasis"); } } private string _F_ScaleBasis; public static FieldInfo f_ScaleBasis = new FieldInfo("TW_Value_DiscountF_Gridview", "F_ScaleBasis");
        [Column]
        public string F_Valid_From { get { return _F_Valid_From; } set { _F_Valid_From = value; EntityState.FieldChange("F_Valid_From"); } } private string _F_Valid_From; public static FieldInfo f_Valid_From = new FieldInfo("TW_Value_DiscountF_Gridview", "F_Valid_From");
        [Column]
        public string F_Valid_To { get { return _F_Valid_To; } set { _F_Valid_To = value; EntityState.FieldChange("F_Valid_To"); } } private string _F_Valid_To; public static FieldInfo f_Valid_To = new FieldInfo("TW_Value_DiscountF_Gridview", "F_Valid_To");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("TW_Value_DiscountF_Gridview", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("TW_Value_DiscountF_Gridview", "Status");

    }
}
